import request from '@/utils/request'
export function getForms(params) {
  return request({
    url: '/api/forms/getForms',
    method: 'get',
    params
  })
}
export function createForms(data) {
  return request({
    url: '/api/forms/createForms',
    method: 'post',
    data
  })
}
export function updateForms(data) {
  return request({
    url: '/api/forms/updateForms',
    method: 'post',
    data
  })
}
export function delForms(data) {
  return request({
    url: '/api/forms/delForms',
    method: 'post',
    data
  })
}
export function getFormsDatas(data) {
  return request({
    url: '/api/forms/getSubmitData',
    method: 'post',
    data
  })
}
export function delSubmit(data) {
  return request({
    url: '/api/forms/delSubmit',
    method: 'post',
    data
  })
}

